package com.itheima.pojo;

import java.io.Serializable;

public class Food implements Serializable {
    private int foodID;
    private String foodName;
    private String foodTip;
    private String foodUnit;
    private String age;

    public Food(String foodName) {
        this.foodName = foodName;
    }

    public int getFoodID() {
        return foodID;
    }

    public void setFoodID(int foodID) {
        this.foodID = foodID;
    }

    public String getFoodName() {
        return foodName;
    }

    public void setFoodName(String foodName) {
        this.foodName = foodName;
    }

    public String getFoodTip() {
        return foodTip;
    }

    public void setFoodTip(String foodTip) {
        this.foodTip = foodTip;
    }

    public String getFoodUnit() {
        return foodUnit;
    }

    public void setFoodUnit(String foodUnit) {
        this.foodUnit = foodUnit;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public Food() {
    }

    public Food(String foodName, String foodTip, String foodUnit, String age) {
        this.foodName = foodName;
        this.foodTip = foodTip;
        this.foodUnit = foodUnit;
        this.age = age;
    }

    public Food(int foodID, String foodName, String foodTip, String foodUnit, String age) {
        this.foodID = foodID;
        this.foodName = foodName;
        this.foodTip = foodTip;
        this.foodUnit = foodUnit;
        this.age = age;
    }
}
